package com.itheima.service;

import com.itheima.mapper.EmpMapper;
import com.itheima.pojo.Emp;
import com.itheima.pojo.JobOption;
import com.itheima.pojo.PageResult;

import java.util.List;
import java.util.Map;

public interface EmpService {
    PageResult<Emp> findPage(Integer page, Integer pageSize);
    void save(Emp emp) throws Exception;

    void delete(List<Integer> ids);

    Emp getById(Integer id);

    void update(Emp emp);

    JobOption empJobData();

    List<Map> empGenderData();


}